#ifndef RAY_H
#define RAY_H
#include "Vector.h"
#include "Color.h"
#define MAX_RECURSION 3

class Scene;

class Ray{
	public:
		Ray(Vector point, Vector dir, double refractionIndex, int depth):
			initialPoint(point), direction(dir), currRefractionIndex(refractionIndex), recursionDepth(depth){
		};
		Vector initialPoint;
		Vector direction;
		Color trace(Scene* myScene, int &itemFound);
	private:
		int recursionDepth;
		double currRefractionIndex;
};

#endif

